﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace RMS.Manage.Web.Controllers
{
    public class ErrorController : BaseController
    {
        public ActionResult Index(string Msg)
        {
            ViewBag.Message = string.IsNullOrWhiteSpace(Msg) ? "程序出错" : Msg;
            return PartialView();
        }
        public ActionResult _404()
        {
            return PartialView();
        }
        public ActionResult NoPermissions()
        {
            return PartialView();
        }
    }
}